package com.streamsets.datacollector.model.etl;

import java.util.List;
import java.util.Map;

/**
 * 创建管道 字段映射 Stage Dto
 * @author wengzhonghui
 * @date 2020/4/2 11:26
 */
public class RenameMappingConfigJson {

    /*
     * 字段映射 配置，对应Key为，fromFieldExpression原来的列名，toFieldExpression映射后的列名
     * 对应的配置文件为
     * [ {
          "fromFieldExpression" : "/role_type",
          "toFieldExpression" : "/role_type_name"
        }, {
          "fromFieldExpression" : "/role_name",
          "toFieldExpression" : "/role_name_new"
        } ]
     */
    private List<Map<String, String>> nameMappingColumns;


    public List<Map<String, String>> getNameMappingColumns() {
        return nameMappingColumns;
    }

    public void setNameMappingColumns(List<Map<String, String>> nameMappingColumns) {
        this.nameMappingColumns = nameMappingColumns;
    }
}
